package com.wcx.application.mapper;

import com.wcx.application.domian.AdminBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {


    List<AdminBean> getList();

    int update(AdminBean adminBean);

    int delete(int id);

    int updateAvatarById(String originalFilename, int id);

    int create(AdminBean adminBean);

    List<AdminBean> searchList(AdminBean adminBean);

    int updateAvatarByUserName(String originalFilename, String username);
}
